﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base_leasesystem_invoicedetail
{
    /// <summary>
    /// 发票信息
    /// </summary>
    [Table("leasesystem_invoicedetail")]
    public class leasesystem_invoicedetail
    {

        /// <summary>
        /// 主键id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public String MID { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        public String MerchantCode { get; set; }

       

        /// <summary>
        /// 申请日期
        /// </summary>
        public DateTime? ApplicationTime { get; set; }

        /// <summary>
        /// 服务商ID
        /// </summary>
        public String ServiceProviderId { get; set; }

        /// <summary>
        /// 服务商名称
        /// </summary>
        public String ServiceProviderName { get; set; }

        /// <summary>
        /// 发票抬头
        /// </summary>
        public String InvoiceRise { get; set; }

        /// <summary>
        /// 发票金额
        /// </summary>
        public Decimal? InvoiceAmount { get; set; }

        /// <summary>
        /// 发票类型ID
        /// </summary>
        public String InvoiceTypeId { get; set; }

        /// <summary>
        /// 发票类型
        /// </summary>
        public String InvoiceType { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public String InvoiceStatus { get; set; }

        /// <summary>
        /// 备案
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 发票类别
        /// </summary>
        public String InvoiceCategory { get; set; }

        /// <summary>
        /// 发票代码
        /// </summary>
        public String InvoiceCode { get; set; }

        /// <summary>
        /// 发票号码
        /// </summary>
        public String InvoiceNumber { get; set; }

        /// <summary>
        /// 税额
        /// </summary>
        public Decimal? TaxAmount { get; set; }

        /// <summary>
        /// 价税合计
        /// </summary>
        public Decimal? InvoiceTaxAmount { get; set; }

        /// <summary>
        /// 发票照片地址
        /// </summary>
        public String InvoiceFilePath { get; set; }

        /// <summary>
        /// 物流公司
        /// </summary>
        public String wlgs { get; set; }

        /// <summary>
        /// 物流单号
        /// </summary>
        public String wldh { get; set; }

        /// <summary>
        /// 开票科目ID
        /// </summary>
        public String InvoicesubjectId { get; set; }

        /// <summary>
        /// 开票科目名称
        /// </summary>
        public String Invoicesubject { get; set; }

        /// <summary>
        /// 是否合并开票
        /// </summary>
        public Int32? unioninvoice { get; set; }

        /// <summary>
        /// 发票金额
        /// </summary>
        public Decimal? Amount { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public Decimal? Rate { get; set; }

        /// <summary>
        /// 客户税号
        /// </summary>
        public String MerchantTaxNo { get; set; }

        /// <summary>
        /// 提交状态
        /// </summary>
        public String SubmitStatus { get; set; }

        /// <summary>
        /// 提交日期
        /// </summary>
        public String SubmitLog { get; set; }

        /// <summary>
        /// 发票状态
        /// </summary>
        public Int32? InvoiceBusinessStatus { get; set; }

        /// <summary>
        /// 结算单号
        /// </summary>
        public String tsksids { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        public String taskId { get; set; }

        /// <summary>
        /// 数据权限
        /// </summary>
        public String DataAreaId { get; set; }

    }
}